package B;
//电话
public class CellPhone {
    private String function;//功能
    //空构造方法
    public CellPhone(){}
    //
    public CellPhone(String function){
        this.function = function;
    }
    public void intor(){
        System.out.println("能用来"+this.function);
    }

    public String getFunction() {
        return function;
    }

    public void setFunction(String function) {
        this.function = function;
    }
    public static void main(String[]args){

    }
}
